trivial-httpd: use PR_SET_PDEATHSIG by default
authorColin Walters <walters@verbum.org>
Mon, 8 Dec 2014 19:44:44 +0000 (14:44 -0500)
committerColin Walters <walters@verbum.org>
Mon, 8 Dec 2014 19:47:37 +0000 (14:47 -0500)
commitf7c926c5e9a4cff74e203c6bdd9b13f8cc027eed
tree080b34a3116a18046c3306e1aacb8c245718ce7e
parente908ebd9b399a22b1c5796315f8345c50d15d167
trivial-httpd: use PR_SET_PDEATHSIG by default

If we're not daemonizing, this is a useful way to ensure we go away if
our parent does.

https://bugzilla.gnome.org/show_bug.cgi?id=741264
src/ostree/ot-builtin-trivial-httpd.c